<?php

namespace App\Validate;

class VipSettingsValidate extends BaseValidate
{
    protected $rule = [
        'vip_name'=>'required',
        'vip_price'=>'required',
        'vip_index'=>'required',
        'vip_id'=>'required',
    ];


    protected $message = [
        'vip_name.required'=>'请填写VIP名字',
        'vip_price.required'=>'请填写VIP价格',
        'vip_index.required'=>'请填写VIP标识',
        'vip_id.required'=>'缺少主键标识',
    ];


    protected $scene = [
        'add_vip'=>'vip_name,vip_price,vip_index',
        'edit_vip'=>'vip_name,vip_price,vip_index,vip_id',
        'del_vip'=>'vip_id',
        'add_vip_order'=>'vip_id'
    ];
}
